﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AccountReceivableAdd.aspx.cs" Inherits="ITOMMS.Web.Finance.AccountReceivableAdd" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>往来单位应收账款添加</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
 <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>
    <script type="text/javascript" src="../js/ymPrompt.js"></script>
    <!--用到日期控件才使用-->

    <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="content1">
                        <table class="tblDataArea" width="100%">
                            <tr class="tblQueryArea">
                                <td class="tblDataCaption" colspan="15">
                                    <div style="width: 210px;" class="title">
                                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" />往来单位应收账款添加</div></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    科目编号</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt科目编号" runat="server" Width="145px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    部门</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt部门" runat="server" Width="147px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    单据编号</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt单据编号" runat="server" Width="151px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    经手人</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt经手人" runat="server" Width="145px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    科目名称</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt科目名称" runat="server" Width="147px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    金额</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt金额" runat="server" Width="151px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    合计</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt合计" runat="server" Width="145px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    付款方式</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt付款方式" runat="server" Width="147px"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                    起始时间</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt起始时间" runat="server" Width="151px" onfocus="WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd'});"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="tdQueryCaption">
                                    终止时间</td>
                                <td class="tdQueryField">
                                    <asp:TextBox ID="txt终止时间" runat="server" Width="145px" onfocus="WdatePicker({skin:'blue',dateFmt:'yyyy-MM-dd'});"></asp:TextBox></td>
                                <td class="tdQueryCaption">
                                </td>
                                <td class="tdQueryCaption">
                                </td>
                                <td class="tdQueryCaption">
                                </td>
                                <td class="tdQueryCaption">
                                </td>
                            </tr>
                            <tr class="tblQueryArea">
                                <td class="tblDataCaption" colspan="15" style="text-align: center; height: 38px;">
                                    <asp:Button ID="btnSave" runat="server" CssClass="cssButton" Text="保存"  OnClientClick="javascript:return confirm('你确认要提交吗?');" OnClick="btnSave_Click" /></td>
                            </tr>
                        </table>
                    </div>
    </form>
</body>
</html>

<script type="text/javascript">

function check()
{
	if($.GetValidResult())/*验证表单*/
	{	
	    return true; 
	}
	else
	{
	    return false;
	}
}
    
//    $("#txtTitle").attr("dataType","Require");
//    $("#txtTitle").attr("tip", " ");
//    
//    
//    $("#txtContent").attr("dataType","Require");
//    $("#txtContent").attr("tip", " ");
    

    
      $("#txt金额").attr("dataType","Currency");
        $("#txt金额").attr("require", "false");
         $("#txt金额").attr("tip", "请输入正确的金额格式");
    
       $("#txt合计").attr("dataType","Currency");
        $("#txt合计").attr("require", "false");
         $("#txt合计").attr("tip", "请输入正确的金额格式");
                
</script>
    